package com.he.heblog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.he.heblog.dto.ArticleDto;
import com.he.heblog.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 余生
 * @since 2023-03-27
 */
public interface ArticleService extends IService<Article> {
   Page<ArticleDto> getArticleListExtra(Integer page, Integer pageSize,Integer articleType);
   Page<ArticleDto> getArticleListOrder(Integer page, Integer pageSize, Integer articleType, ArticleDto articleDto);
   ArticleDto getArticleDetail(Integer articleId);
   Page<ArticleDto> getArticleCondition(Integer page,ArticleDto articleDto);


}
